#define _CRT_SECURE_NO_WARNINGS  1

#include<stdio.h>

void my_strcpy(char* p, char* p2)
{
	while (*p != '\0')
	{
		*p2 = *p;
		p++;
		p2++;
	}
}
int main()
{
	char arr[] = "abcdef";
	char arr2[100] = "0";
	my_strcpy(arr,arr2);
	printf("%s", arr2);
	return 0;
}